package ase.assignment.sts.api;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface HandlerFactory extends Remote {

	CustomerHandler getCustomerHandler() throws RemoteException;

	PortfolioHandler getPortfolioHandler() throws RemoteException;

	StockHandler getStockHandler() throws RemoteException;

	/**
	 * Tests the factory is active
	 * 
	 * @return
	 * @throws RemoteException
	 */
	boolean isActive() throws RemoteException;
}
